package cn.yyh.serviceOrder.domain;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Data
public class ProductOrder{
    private Long id;
    private String digest;
    private Integer state = 0;//0待支付 1待消费 2待确认 3完成 -1取消
    private BigDecimal price;
    private String orderSn;
    private String paySn;
    private Date lastPayTime;
    private Date lastConfirmTime;
    private Long product_id;
    private Long user_id;
    private Long shop_id;  //分配
    private Long address_id;


    private User user;
    private ProductOrderDetail detail;

}
